{minimum_otp_vsn, "21.0"}.

{deps,
    [{ranch, {git, "https://github.com/emqx/ranch", {tag, "1.8.1-emqx"}}},
     {cowlib, {git, "https://github.com/ninenines/cowlib", {tag, "2.8.0"}}}
    ]}.

{erl_opts, [warn_unused_vars,
            warn_shadow_vars,
            warn_unused_import,
            warn_obsolete_guard,
            warn_untyped_record,
            debug_info
           ]}.

{xref_checks, [undefined_function_calls, undefined_functions,
               locals_not_used, deprecated_function_calls,
               warnings_as_errors, deprecated_functions
              ]}.

{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.

{ct_opts, [{ct_hooks, [cowboy_ct_hook]}]}.

{profiles,
    [{test,
        [{deps,
            [{proper, "1.3.0"}, % hex
             {gun, {git, "https://github.com/ninenines/gun", {branch, "master"}}},
             {ct_helper, {git, "https://github.com/extend/ct_helper", {branch, "master"}}}
            ]},
         {erl_opts, [{parse_transform, eunit_autoexport}]}
        ]}
    ]}.
